package com.study.shiro.shirospringboot.dao;

import com.study.shiro.shirospringboot.pojo.UserInfo;
import org.springframework.data.repository.CrudRepository;
  

/**
 * UserInfo持久化类;
 * 
 * @version v.0.1
 */
public interface UserInfoRepository extends CrudRepository<UserInfo,Long>{
    
    /**通过username查找用户信息;*/
    UserInfo findByUsername(String username);
    
}